<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="UTF-8"%>
<% if(request.getSession().getAttribute("User") != null){ %>)	
<jsp:forward page="../pages/home.jsp"></jsp:forward>
<%} %>
<jsp:include page="../templates/Header.jsp"></jsp:include>
Login
<jsp:include page="../templates/Title.jsp"></jsp:include>
<jsp:include page="../templates/Style.jsp"></jsp:include>
<div class="body-center w960">
<h2 class="title-show">Login</h2>
<fieldset><legend>Login account </legend>
<form action="../auth/Login" method="post">
<table>
	<tr>
		<td>Username :</td>
		<td><input type="text" name="txtUsername" id="txtUsername"></td>
	</tr>
	<tr>
		<td>Password :</td>
		<td><input type="password" name="txtPassword"></td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" value="Login" /></td>
	</tr>
	<%
		if (request.getAttribute("Error") != null) {
	%>
	<tr>
		<th colspan="2"><%=request.getAttribute("Error")%></th>
	</tr>
	<%
		}
	%>
</table>
</form>
</fieldset>
</div>

<jsp:include page="../templates/Footer.jsp"></jsp:include>